package com.eedi.framework.config.dal.mapper;


import com.eedi.framework.mybatis.core.mapper.BaseMapperX;
import com.eedi.framework.config.dal.dataobject.ConfigDefineDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 配置定义 Mapper
 *
 */
@Mapper
public interface SysConfigDefineMapper extends BaseMapperX<ConfigDefineDO> {
    default ConfigDefineDO getByCode(String cfgCode) {
        return selectOne(ConfigDefineDO::getCfgCode, cfgCode);
    }
}
